package org.makabaka.wfwwb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.makabaka.wfwwb.pojo.TeamMember;

import java.util.List;

@Mapper
public interface TeamMemberMapper extends BaseMapper<TeamMember> {
    // 根据团队 ID 查询团队成员
    @Select("SELECT * FROM team_member WHERE team_id = #{teamId}")
    List<TeamMember> selectByTeamId(Integer teamId);
}
